include(../common.pri)

TARGET  = gjpeg2k
TEMPLATE = lib
CONFIG = qt plugin debug
VERSION = 1.0.0

HEADERS = gjpeg2khandler.h
SOURCES = main.cpp gjpeg2khandler.cpp

INCLUDEPATH += libopenjpeg
SOURCES  += \
        libopenjpeg/bio.c \
        libopenjpeg/cio.c \
        libopenjpeg/dwt.c \
        libopenjpeg/event.c \
        libopenjpeg/fix.c \
        libopenjpeg/image.c \
        libopenjpeg/int.c \
        libopenjpeg/j2k.c \
        libopenjpeg/j2k_lib.c \
        libopenjpeg/jp2.c \
        libopenjpeg/jpt.c \
        libopenjpeg/mct.c \
        libopenjpeg/mqc.c \
        libopenjpeg/openjpeg.c \
        libopenjpeg/pi.c \
        libopenjpeg/raw.c \
        libopenjpeg/t1.c \
        libopenjpeg/t2.c \
        libopenjpeg/tcd.c \
        libopenjpeg/tgt.c \

target.path += $$[QT_INSTALL_PLUGINS]/imageformats
INSTALLS += target
